package com.dream.service.recommender.domain.splitter.enums;

/**
 * Created by zhiji on 2016/3/15.
 * 分流策略
 */
public enum StrategyType {

    RANDOM(1),ROUND(2),PARTITIONBYUUID(3),PARTITIONBYPIN(4),PARTITIONBYDEVID(5);
    private int code;

    private StrategyType(int code) {
        this.code = code;
    }

    public int getValue() {
        return code;
    }

    public String toString() {
        return String.valueOf(code);
    }
}
